package kitwee.com.kanpad.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author GanQuan
 * @date 2018/3/1
 * kitwee.com.kanpad.bean
 * 设备实时数据
 */

public class RealTimeData implements Serializable{


    /**
     * statusCode : 200
     * message : success
     * status : true
     * data : [{"unit":"","realValue":0,"standardValue":0,"project":"速度","status":""},{"unit":"","realValue":0,"standardValue":1600,"project":"产量","status":""}]
     */

    private String statusCode;
    private String message;
    private boolean status;
    private List<DataBean> data;

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * unit :
         * realValue : 0
         * standardValue : 0
         * project : 速度
         * status :
         */

        private String unit;
        private int realValue;
        private int standardValue;
        private String project;
        private String status;

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public int getRealValue() {
            return realValue;
        }

        public void setRealValue(int realValue) {
            this.realValue = realValue;
        }

        public int getStandardValue() {
            return standardValue;
        }

        public void setStandardValue(int standardValue) {
            this.standardValue = standardValue;
        }

        public String getProject() {
            return project;
        }

        public void setProject(String project) {
            this.project = project;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
